package com.guigu.order.service;

import com.guigu.order.entity.OrderLocation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 订单位置信息  服务类
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-09
 */
public interface OrderLocationService extends IService<OrderLocation> {

    /**
     * 获取两地之间的距离
     * @param begin 起点的距离
     * @param end 终点的距离
     * @return
     */
    public Map<String, Object> getDistance(String begin, String end);
}
